package com.ysd.lis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.TDictTreeType;
import com.ysd.lis.request.DictTreeItemAddParam;
import com.ysd.lis.request.DictTreeTypeAddParam;

/**
 * <p>
 * cold_chain.t_role 服务类
 * </p>
 *
 * @author Peng
 * @since 2021-10-08
 */
public interface TDictTreeService extends IService<TDictTreeType> {

    Result findDictReportFieldList();
    Result findDictReportValueList(String typeId,Integer pageSize,Integer pageIndex);
    Result addDictReportField(DictTreeTypeAddParam dictTreeTypeAddParam);
    Result editDictReportField(DictTreeTypeAddParam dictTreeTypeAddParam);
    Result deleteDictReportField(String id);
    Result addDictReportValue(DictTreeItemAddParam dictTreeItemAddParam);
    Result editDictReportValue(DictTreeItemAddParam dictTreeItemAddParam);
    Result deleteDictReportValue(String id);
    Result getDictValueByType(String code);

    Result getDictValueByTypes(String code);

    Result getDictTreeTypeByOrgId(String orgId);
}
